package com.ticket.system.domain.vo;

import com.ticket.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

public class QueryOrderListVO extends BaseEntity {

    //剧院id
    private Long operaId;

    //演出id
    private Integer performId;

    //场次id
    private Integer sessionId;

    //订单状态
    private Integer status;
    @Size(min = 5, max = 40, message = "订单号长度为5-40个字符")
    //订单号
    private String orderId;

    @Size(min = 2, max = 10, message = "姓名长度为2-10个字符")
    //购票人
    private String name;

    @Size(min = 5, max = 11, message = "手机号长度为5-11个字符")
    //手机号
    private String number;

    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$")
    private String orderTimeBegin;
    @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$")
    private String orderTimeEnd;

    private String exportMsg;

    @ApiModelProperty(value = "购票类型 1小程序购票 2后台出票")
    private Integer ticketType = 1;

    @ApiModelProperty(value = "联系人")
    private String contacts;


    @ApiModelProperty(value = "联系人手机号")
    private String contactsNumber;

    @ApiModelProperty(value = "区域编码")
    private Long areaId;
    @ApiModelProperty(value = "排号")
    private Long rowNo;

    @ApiModelProperty(value = "排")
    private Long rowNumber;

    @ApiModelProperty(value = "座位号")
    private Long seatNo;
    @ApiModelProperty(value = "出票付款 1已付款 2欠款")
    private Long ticketStatus;
    @ApiModelProperty(value = "支付方式 1对公转账2抖音支付 3微信支付 4现金 5其他")
    private Long payWay;

    @ApiModelProperty(value = "位置")
    private Long xPos;

    @ApiModelProperty(value = "桌号")
    private String tab;

    public Long getxPos() {
        return xPos;
    }

    public void setxPos(Long xPos) {
        this.xPos = xPos;
    }

    @ApiModelProperty(value = "出票类型1团购票 2工作票3赠票 4其他")
    private Long ticketWay;

    public Long getTicketStatus() {
        return ticketStatus;
    }

    public void setTicketStatus(Long ticketStatus) {
        this.ticketStatus = ticketStatus;
    }

    public Long getPayWay() {
        return payWay;
    }

    public void setPayWay(Long payWay) {
        this.payWay = payWay;
    }

    public Long getTicketWay() {
        return ticketWay;
    }

    public void setTicketWay(Long ticketWay) {
        this.ticketWay = ticketWay;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getRowNo() {
        return rowNo;
    }

    public void setRowNo(Long rowNo) {
        this.rowNo = rowNo;
    }

    public Long getSeatNo() {
        return seatNo;
    }

    public void setSeatNo(Long seatNo) {
        this.seatNo = seatNo;
    }


    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public Integer getTicketType() {
        return ticketType;
    }

    public void setTicketType(Integer ticketType) {
        this.ticketType = ticketType;
    }

    public String getExportMsg() {
        return exportMsg;
    }

    public void setExportMsg(String exportMsg) {
        this.exportMsg = exportMsg;
    }

    public Long getOperaId() {
        return operaId;
    }

    public void setOperaId(Long operaId) {
        this.operaId = operaId;
    }

    public Integer getPerformId() {
        return performId;
    }

    public void setPerformId(Integer performId) {
        this.performId = performId;
    }

    public Integer getSessionId() {
        return sessionId;
    }

    public void setSessionId(Integer sessionId) {
        this.sessionId = sessionId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }


    public String getOrderTimeBegin() {
        return orderTimeBegin;
    }

    public void setOrderTimeBegin(String orderTimeBegin) {
        this.orderTimeBegin = orderTimeBegin;
    }

    public String getOrderTimeEnd() {
        return orderTimeEnd;
    }

    public void setOrderTimeEnd(String orderTimeEnd) {
        this.orderTimeEnd = orderTimeEnd;
    }

    public String getTab() {
        return tab;
    }

    public void setTab(String tab) {
        this.tab = tab;
    }


    public String getContactsNumber() {
        return contactsNumber;
    }

    public void setContactsNumber(String contactsNumber) {
        this.contactsNumber = contactsNumber;
    }

    public Long getRowNumber() {
        return rowNumber;
    }

    public void setRowNumber(Long rowNumber) {
        this.rowNumber = rowNumber;
    }
    @Override
    public String toString() {
        return "QueryOrderListVO{" +
                "operaId='" + operaId + '\'' +
                ", performId=" + performId +
                ", sessionId=" + sessionId +
                ", status=" + status +
                ", orderId='" + orderId + '\'' +
                ", name='" + name + '\'' +
                ", number='" + number + '\'' +
                '}';
    }
}
